package com.hina.rec.application.convert;

import com.hina.rec.domain.model.WorkflowDataDO;
import com.hina.rec.endpoint.res.WorkflowDataRes;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 工作流数据对象转换器
 *
 * @author dequal
 * @since 2025-05-23
 */
@Mapper
public interface WorkflowDataConvert {
    
    WorkflowDataConvert INSTANCE = Mappers.getMapper(WorkflowDataConvert.class);
    
    /**
     * DO转Res
     *
     * @param workflowDataDO DO对象
     * @return Res对象
     */
    WorkflowDataRes toRes(WorkflowDataDO workflowDataDO);
} 